package com.onec.service.trade.dao;


import com.onec.service.api.dao.BaseRepository;
import com.onec.service.trade.entity.NotifyOrderDetail;
import org.springframework.data.repository.RepositoryDefinition;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = NotifyOrderDetail.class, idClass = Long.class)
public interface NotifyOrderDetailRepository extends BaseRepository<NotifyOrderDetail, Long> {

    NotifyOrderDetail findBySerialNum(String serialNum);

    NotifyOrderDetail findByExternalNum(String externalNum);
}
